package com.cskaoyan._01basic._07flow._02test;

import java.util.Scanner;

/**
 * @author Macro_Ray
 * @since 2024/3/3 10:56
 */
public class If_03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入分数");
        int score = sc.nextInt();

        if (score > 0 && score < 100) {
            if (score > 95 && score <= 100) {
                System.out.println("自行车一辆");
            } else if (score > 90 && score <= 95) {
                System.out.println("游乐场一天");
            } else if (score > 80 && score <= 90) {
                System.out.println("变形金刚一个");
            } else {
                System.out.println("揍一顿");
            }
        } else {
            System.out.println("当前录入成绩不合法");
        }
    }
}
